package com.app.couponsharelife.data.bean

/**
 *Created by xct on 2019/1/16
 *Description:
 */
data class PDDGoodsListBean(
        var asc: Boolean=false,
        var current: Int?,
        var limit: Int?,
        var offset: Int?,
        var offsetCurrent: Int?,
        var optimizeCount: Boolean=false,
        var orderByField: Any?,
        var pages: Int?,
        var records: List<PDDGoodsListRecord> = arrayListOf(),
        var recordss: MutableList<TaobaoGoodBean> = arrayListOf(),
        var searchCount: Boolean=false,
        var size: Int?,
        var total: Int?
)

data class PDDGoodsListRecord(
        var avg_desc: Int?,
        var avg_lgst: Int?,
        var avg_serv: Int?,
        var cat_ids: List<Int> = arrayListOf(),
        var category_id: Int?,
        var category_name: String="",
        var coupon_discount: Int?,
        var coupon_end_time: Long?,
        var coupon_min_order_amount: Int?,
        var coupon_remain_quantity: Int?,
        var coupon_start_time: Long?,
        var coupon_total_quantity: Int?,
        var create_at: Int?,
        var desc_pct: Double=0.00,
        var goods_desc: String="",
        var goods_eval_count: Int?,
        var goods_eval_score: Double=0.00,
        var goods_gallery_urls: List<String> = arrayListOf(),
        var goods_id: Long?,
        var goods_image_url: String="",
        var goods_name: String="",
        var goods_thumbnail_url: String="",
        var has_coupon: Boolean=false,
        var lgst_pct: Double=0.00,
        var mall_cps: Int?,
        var mall_name: String="",
        var merchant_type: Int?,
        var min_group_price: Int?,
        var min_normal_price: Int?,
        var opt_id: Int?,
        var opt_ids: List<Int> = arrayListOf(),
        var opt_name: String="",
        var promotion_rate: Int?,
        var serv_pct: Double=0.00,
        var sold_quantity: Int?
)